/*
 * {comment of class}
 *
 * @author (C) <a href="http://www.carfield.com.hk">Carfield Yim</a>, 2004
 */
package hk.com.carfield.content;

import hk.com.carfield.core.Config;

import java.io.File;

public final class Flash extends PluginItem {
	public Flash(final Config config, final File file) {
		super(config, file);
	}
    public String pluginHtml(final String path) {
    	return "<EMBED SRC=\""+path+"\" PLAY=true TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">";
    }
    
    //TODO see if able to extract flash's metadata
}
